package com.ruoyi.business.domain;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @Author: Jamnsin
 * @Date: 2021/3/1 5:23 下午
 */
@Data
public class BVNInfo {

    @NotBlank(message = "First name cannot be null")
    private String firstName;

    // @NotBlank(message = "MiddleName cannot be null")
    private String middleName;

    @NotBlank(message = "Last name cannot be null")
    private String lastName;

    @NotBlank(message = "Birth date cannot be null")
    private String birthDate;

    @NotBlank(message = "Gender cannot be null")
    private String gender;

    //@NotBlank(message = "Account number cannot be null")
    private String accountNumber;

    /**
     * 前端传入PayStackBankCode
     */
    //@NotBlank(message = "Bank cannot be null")
    private String bankCode;

    @NotBlank(message = "fingerprint cannot be null")
    private String fingerprint;

    private String phoneNumber;

    @NotBlank(message = "bvn cannot be null")
    private String bvnAccount;
}
